<?php
class TextArea extends CoreTagWithLang {
	protected $cols;
	protected $rows;
	protected $disabled;
	protected $name;
	protected $readonly;

	public function __construct() {
		parent::__construct("textarea");
		$this->cols="";
		$this->rows="";
		$this->disabled="";
		$this->name="";
		$this->readonly="";
		$this->attributeNames=array_merge($this->attributeNames,array('cols','rows','disabled','name','readonly'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','',''));
	}

	public function setCols($_cols) {
		$this->cols=(string)$_cols;
		$this->setAttribute('cols',$_cols);
	}
	public function getCols() {
		return $this->cols;
	}
	public function setRows($_rows) {
		$this->rows=(string)$_rows;
		$this->setAttribute('rows',$_rows);
	}
	public function getRows() {
		return $this->rows;
	}
	public function setDisabled($_disabled) {
		$this->disabled=(string)$_disabled;
		$this->setAttribute('disabled',$_disabled);
	}
	public function getDisabled() {
		return $this->disabled;
	}
	public function setName($_name) {
		$this->name=(string)$_name;
		$this->setAttribute('name',$_name);
	}
	public function getName() {
		return $this->name;
	}
	public function setReadonly($_readonly) {
		$this->readonly=(string)$_readonly;
		$this->setAttribute('readonly',$_readonly);
	}
	public function getReadonly() {
		return $this->readonly;
	}

}
?>